﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Domain.Entity.User
{
    public class Menu:Audit
    {

        /// <summary>
        ///ID
        /// </summary>
        [Key]
        public int Menu_Id { get; set; }

        /// <summary>
        ///父级ID
        /// </summary>
        public int ParentId { get; set; }


        /// <summary>
        ///菜单名称
        /// </summary>
        public string MenuName { get; set; }

        /// <summary>
        ///
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        ///
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        ///权限
        /// </summary>
        public string Auth { get; set; }


        /// <summary>
        ///
        /// </summary>
        public string Description { get; set; }


        /// <summary>
        ///图标
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        ///排序号
        /// </summary>
        public int? OrderNo { get; set; }
    }
}
